﻿using System;
namespace Model
{
	/// <summary>
	/// StoreCheckAccount:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class StoreCheckAccount
	{
		public StoreCheckAccount()
		{}
		#region Model
		private int _id;
		private string _dealersid;
		private DateTime? _createtime;
		private string _description;
		private decimal? _oldmoney;
		private decimal? _changemoney;
		private decimal? _newmoney;
		private string _type;
		private int? _createuser;
		private int? _typeid;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 门店—关联经销商表的id
		/// </summary>
		public string dealersid
		{
			set{ _dealersid=value;}
			get{return _dealersid;}
		}
		/// <summary>
		/// 交易日
		/// </summary>
		public DateTime? createtime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
        /// 交易摘要-收入
		/// </summary>
		public string description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 原余额
		/// </summary>
		public decimal? oldmoney
		{
			set{ _oldmoney=value;}
			get{return _oldmoney;}
		}
		/// <summary>
        /// 异动金额-支出
		/// </summary>
		public decimal? changemoney
		{
			set{ _changemoney=value;}
			get{return _changemoney;}
		}
		/// <summary>
		/// 余额
		/// </summary>
		public decimal? newmoney
		{
			set{ _newmoney=value;}
			get{return _newmoney;}
		}
		/// <summary>
		/// 交易类型(销售订单，门店采购单，门店充值)
		/// </summary>
		public string type
		{
			set{ _type=value;}
			get{return _type;}
		}
		/// <summary>
		/// 操作人
		/// </summary>
		public int? createuser
		{
			set{ _createuser=value;}
			get{return _createuser;}
		}
		/// <summary>
		/// 关联ID 是什么类型就关联其类型ID  如销售订单就是销售订单表ID（扩展字段）
		/// </summary>
		public int? typeid
		{
			set{ _typeid=value;}
			get{return _typeid;}
		}
		#endregion Model

	}
}

